const getters = {
  sidebar: state => state.app.sidebar,
  token: state => state.auth.token,
  avatar: state => state.users.avatar,
  userId: state => state.users.userId,
  username: state => state.users.username,
  name: state => state.users.name,
  type: state => state.users.type,
  permissions: state => state.users.permissions,
  routers: state => state.permissions.routers,
  addRouters: state => state.permissions.addRouters
}
export default getters
